//
//  ComposePhotoViewController.h
//  OrderSeat
//
//  Created by haiming on 13-10-14.
//  Copyright (c) 2013年 wangwei. All rights reserved.
//

#import "SearchResultView.h"
#import "PhotoViewController.h"

@class ComposePhotoDataSource;
@interface ComposePhotoViewController : BaseViewController<UITextFieldDelegate,UITextViewDelegate,UIGestureRecognizerDelegate,SearchResultViewDelegate>

@property (strong, nonatomic) IBOutlet UIView *topView;
@property (strong, nonatomic) IBOutlet UIView *priceView;
@property (strong, nonatomic) IBOutlet UIView *bottomView;
@property (strong, nonatomic) IBOutlet UIView *photoView;

@property (strong, nonatomic) IBOutlet UIImageView *photoImageView;
@property (strong, nonatomic) IBOutlet UITextView *descriptionTV;
@property (strong, nonatomic) IBOutlet UITextField *priceTF;
@property (strong, nonatomic) IBOutlet UITextField *shopNameTF;

@property (strong, nonatomic) IBOutlet UIButton *envBtn;
@property (strong, nonatomic) IBOutlet UIButton *dishBtn;

@property (strong, nonatomic) IBOutlet UIScrollView *theScrollview;

@property (strong, nonatomic) UIImage *photoImage;

@property (strong, nonatomic) ComposePhotoDataSource *dataSource;
@property (strong, nonatomic) BaseViewController  *parentVC;

@end

@interface ComposePhotoDataSource : BaseDataSource

@property (strong, nonatomic) ComposePhotoViewController *viewController;

- (void)postPhoto:(NSDictionary *)params;

@end
